package ${packageName}.service;
import java.util.*;
import ${packageName}.model.${upperFirstLetterName};
import ${packageName}.common.Page;

public interface ${upperFirstLetterName}Service{

	Integer save(${upperFirstLetterName} ${lowerFirstLetterName});

	Integer count();

	${upperFirstLetterName} getBy${upperFirstLetterPrimaryKey}(${primaryKeyType} ${primaryKey});

	void deleteBy${upperFirstLetterPrimaryKey}(${primaryKeyType} ${primaryKey});

	void update(${upperFirstLetterName} ${lowerFirstLetterName});

	List<${upperFirstLetterName}> list();

	Page<${upperFirstLetterName}> page(int pageNo, int pageSize);

}